import { path } from "../../config/path";
import request from './request';

/** 获取oss上传策略和签名 GET /common/oss_signature */
export async function oss_signature(body?: any, options?: any) {
  return request(path + '/common/oss_signature', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
